import React,{Component} from 'react';
import './style.scss';
export default class extends Component {
    constructor(props){
        super(props)
        console.log(props)
    }
    render() {
        return <div className='head_back'>
                  <span onClick={this.props.history.goBack}>返回</span>
                  <p>{this.props.title}</p>
               </div>
    }

}